import { request } from "~/utils/request";

//新增公告
export const save = (data: any) => request("/notice/save", data);
//修改公告
export const update = (data: any) => request("/notice/update", data);
//单个公告查询
export const getNotice = (data: any) => request("/notice/getNotice/" + data);
//公告列表
export const NoticeList = () => request("/notice/list");
//删除
export const DelNotice = (data: any) => request("/notice/delete/" + data);
